<?php


namespace App\Http\Constants\Account;


interface CommonCoinReserveCoinLogConstants
{
    //预扣状态
    const COMMONCOIN_STATUS_PROCEED = 0;//预扣中
    const COMMONCOIN_STATUS_OK = 1;//预扣完成
    const COMMONCOIN_STATUS_REFUND = -1;//已退回

    const COMMONCOIN_STATUS = [
        ['label' => '预扣中', 'value' => self::COMMONCOIN_STATUS_PROCEED],
        ['label' => '预扣完成', 'value' => self::COMMONCOIN_STATUS_OK],
        ['label' => '已退回', 'value' => self::COMMONCOIN_STATUS_REFUND],
    ];


    //预扣类型
    const COMMONCOIN_TYPE_DA = 'DA';//酒店订单会员红包抵扣
    const COMMONCOIN_TYPE_DB = 'DB';//线下订单抵红包扣
    const COMMONCOIN_TYPE_DKB = 'DKB';//DKB

    const COMMONCOIN_TYPE = [
        ['label' => '酒店订单会员红包抵扣', 'value' => self::COMMONCOIN_TYPE_DA],
        ['label' => '线下订单抵红包扣', 'value' => self::COMMONCOIN_TYPE_DB],
        ['label' => '线上订单抵红包扣', 'value' => self::COMMONCOIN_TYPE_DKB],
    ];

}
